package com.insuremonitor.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.insuremonitor.common.annotation.Excel;
import com.insuremonitor.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 有意向保险客户对象 front_warranty_customer
 * 
 * @author ruoyi
 * @date 2023-11-22
 */
public class FrontWarrantyCustomer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**
     * 有意向保险客户id
     */
    private Long arrantyCustomerId;

    /**
     * 客户id
     */
    @Excel(name = "客户id")
    private Long customerId;

    /**
     * 保险种类ID
     */
    @Excel(name = "保险种类ID")
    private Long insureInfoId;

    /**
     * 保险模板code
     */
    @Excel(name = "保险模板code")
    private String templateCode;

    /**
     * 公司名称
     */
    @Excel(name = "公司名称")
    private String companName;

    /**
     * 组织机构代码
     */
    @Excel(name = "组织机构代码")
    private String creditCode;

    /**
     * 仓库地址
     */
    @Excel(name = "仓库地址")
    private String warehouseAddress;

    /**
     * 年营业额
     */
    @Excel(name = "年营业额")
    private String yearTurnover;

    /**
     * 投保人数
     */
    @Excel(name = "投保人数")
    private String warrantyNumber;

    /**
     * 航行区域
     */
    @Excel(name = "航行区域")
    private String sailArea;

    /**
     * 投保船舶数量
     */
    @Excel(name = "投保船舶数量")
    private String boatNumber;

    /**
     * 联系人姓名
     */
    @Excel(name = "联系人姓名")
    private String contactName;

    /**
     * 联系人电话
     */
    @Excel(name = "联系人电话")
    private String contactPhone;

    /**
     * 联系状态（0未联系 1已联系）
     */
    @Excel(name = "联系状态", readConverterExp = "0=未联系,1=已联系")
    private String contactStatus;

    /**
     * 联系时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "联系时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date contactTime;

    /**
     * 状态（0停用 1正常）
     */
    @Excel(name = "状态", readConverterExp = "0=停用,1=正常")
    private String status;

    public void setArrantyCustomerId(Long arrantyCustomerId) {
        this.arrantyCustomerId = arrantyCustomerId;
    }

    public Long getArrantyCustomerId() {
        return arrantyCustomerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setInsureInfoId(Long insureInfoId) {
        this.insureInfoId = insureInfoId;
    }

    public Long getInsureInfoId() {
        return insureInfoId;
    }

    public void setTemplateCode(String templateCode) {
        this.templateCode = templateCode;
    }

    public String getTemplateCode() {
        return templateCode;
    }

    public void setCompanName(String companName) {
        this.companName = companName;
    }

    public String getCompanName() {
        return companName;
    }

    public void setCreditCode(String creditCode) {
        this.creditCode = creditCode;
    }

    public String getCreditCode() {
        return creditCode;
    }

    public void setWarehouseAddress(String warehouseAddress) {
        this.warehouseAddress = warehouseAddress;
    }

    public String getWarehouseAddress() {
        return warehouseAddress;
    }

    public void setYearTurnover(String yearTurnover) {
        this.yearTurnover = yearTurnover;
    }

    public String getYearTurnover() {
        return yearTurnover;
    }

    public void setWarrantyNumber(String warrantyNumber) {
        this.warrantyNumber = warrantyNumber;
    }

    public String getWarrantyNumber() {
        return warrantyNumber;
    }

    public void setSailArea(String sailArea) {
        this.sailArea = sailArea;
    }

    public String getSailArea() {
        return sailArea;
    }

    public void setBoatNumber(String boatNumber) {
        this.boatNumber = boatNumber;
    }

    public String getBoatNumber() {
        return boatNumber;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactStatus(String contactStatus) {
        this.contactStatus = contactStatus;
    }

    public String getContactStatus() {
        return contactStatus;
    }

    public void setContactTime(Date contactTime) {
        this.contactTime = contactTime;
    }

    public Date getContactTime() {
        return contactTime;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("arrantyCustomerId", getArrantyCustomerId())
                .append("customerId", getCustomerId())
                .append("insureInfoId", getInsureInfoId())
                .append("templateCode", getTemplateCode())
                .append("companName", getCompanName())
                .append("creditCode", getCreditCode())
                .append("warehouseAddress", getWarehouseAddress())
                .append("yearTurnover", getYearTurnover())
                .append("warrantyNumber", getWarrantyNumber())
                .append("sailArea", getSailArea())
                .append("boatNumber", getBoatNumber())
                .append("contactName", getContactName())
                .append("contactPhone", getContactPhone())
                .append("contactStatus", getContactStatus())
                .append("contactTime", getContactTime())
                .append("remark", getRemark())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }

    private String  insureName;


    public String getInsureName() {
        return insureName;
    }

    public void setInsureName(String insureName) {
        this.insureName = insureName;
    }
}